package com.ims.core.inconfig.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ims.common.annotation.Excel;
import com.ims.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 企业供应商对象 t_srm_supplier
 *
 * @author IMS
 * @date 2024-09-19
 */
public class TSrmSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String custId;

    /** 公司代码 */
    private String siteCode;

    /** 公司 */
    @Excel(name = "公司")
    private String siteName;

    /** 供应商ID */
    private String supplierId;

    /** 供应商代码 */
    @Excel(name = "供应商代码")
    private String supplierCode;

    /** 供应商全称 */
    @Excel(name = "供应商全称")
    private String supplierName;

    /** 供应商简称 */
    @Excel(name = "供应商简称")
    private String supplierShortName;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 收款账户 */
    @Excel(name = "收款账户")
    private String accountNo;

    /** 1 增值税普通发票，2 增值税专用发票 */
    @Excel(name = "1 增值税普通发票，2 增值税专用发票")
    private Long taxType;

    /** 1 增值税普通发票，2 增值税专用发票 */
    @Excel(name = "1 增值税普通发票，2 增值税专用发票")
    private String taxTypeName;

    /** 1 1%，2 0%，3 3%，4 6%，5 9%，6 10% */
    private long taxRateType;

    /** 1 1%，2 0%，3 3%，4 6%，5 9%，6 10% */
    @Excel(name = "1 1%，2 0%，3 3%，4 6%，5 9%，6 10%")
    private String taxRateName;

    /** 1 包装材料供应，2 车辆供应商，3 海运供应商，4 化学原 */
    private Long categoryType;

    /** 1 包装材料供应，2 车辆供应商，3 海运供应商，4 化学原 */
    @Excel(name = "1 包装材料供应，2 车辆供应商，3 海运供应商，4 化学原")
    private String categoryTypeName;

    /** 主要供应产品 */
    @Excel(name = "主要供应产品")
    private String mainProduct;

    /** 公司人数 */
    @Excel(name = "公司人数")
    private Long peoples;

    /** 年营收 */
    @Excel(name = "年营收")
    private Long yearTurnover;

    /** 省ID */
    private String provinceId;

    /** 省 */
    @Excel(name = "省")
    private String provinceName;

    /** 市ID */
    private String cityId;

    /** 登记机关 */
    @Excel(name = "登记机关")
    private String cityName;

    /** 区ID */
    private String regionId;

    /** 区 */
    @Excel(name = "区")
    private String regionName;

    /** 电话 */
    @Excel(name = "电话")
    private String tel;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 等级 A,B,C,S */
    @Excel(name = "等级 A,B,C,S")
    private String gradeType;

    /** 纳税人识别号 */
    @Excel(name = "纳税人识别号")
    private String taxId;

    /** 1 存续、2 在业、3 吊销、4 注销、5 迁入、6 迁出、 */
    @Excel(name = "1 存续、2 在业、3 吊销、4 注销、5 迁入、6 迁出、")
    private Long enterpriseStatus;

    /** 1 存续、2 在业、3 吊销、4 注销、5 迁入、6 迁出、 */
    @Excel(name = "1 存续、2 在业、3 吊销、4 注销、5 迁入、6 迁出、")
    private String enterpriseStatusName;

    /** 成立时间 */
    @Excel(name = "成立时间")
    private String foundTime;

    /** 法定代表人 */
    @Excel(name = "法定代表人")
    private String lawer;

    /** 注册资本(万元) */
    @Excel(name = "注册资本(万元)")
    private Long registeredCapital;

    /** 实缴资本(万元) */
    @Excel(name = "实缴资本(万元)")
    private Long realCapital;

    /** 1 国有企业、2 集体所有制企业、3 联营企业、4 三资企业 */
    @Excel(name = "1 国有企业、2 集体所有制企业、3 联营企业、4 三资企业")
    private Long propertyType;

    /** 1 国有企业、2 集体所有制企业、3 联营企业、4 三资企业 */
    @Excel(name = "1 国有企业、2 集体所有制企业、3 联营企业、4 三资企业")
    private String propertyTypeName;

    /** 工商信息更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "工商信息更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessTime;

    /** 注册地址 */
    @Excel(name = "注册地址")
    private String registeredAddress;

    /** 经营范围 */
    @Excel(name = "经营范围")
    private String businessNature;

    /** 企业查询结果 */
    @Excel(name = "企业查询结果")
    private String businessResult;

    /** 10 潜在供应商，20 审核未通过，30 合格供应商，30  */
    @Excel(name = "10 潜在供应商，20 审核未通过，30 合格供应商，30 ")
    private String supplierStatus;

    /** 10 潜在供应商，20 审核未通过，30 合格供应商，30  */
    @Excel(name = "10 潜在供应商，20 审核未通过，30 合格供应商，30 ")
    private String supplierStatusName;

    /** 准入条例ID */
    @Excel(name = "准入条例ID")
    private Long regulationId;

    /** 最终总得分 */
    @Excel(name = "最终总得分")
    private Long totalScore;

    /** 1 同意，0 不同意 */
    @Excel(name = "1 同意，0 不同意")
    private Long isAgree;

    /** 1 同意，0 不同意 */
    @Excel(name = "1 同意，0 不同意")
    private Long isQualified;

    /** 付款条件代码 */
    @Excel(name = "付款条件代码")
    private String termCode;

    /** 付款条件 */
    @Excel(name = "付款条件")
    private String termName;

    /** 币别代码 */
    @Excel(name = "币别代码")
    private String currencyCode;

    /** 币别 */
    @Excel(name = "币别")
    private String currencyName;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactBy;

    /** 开户行代码 */
    @Excel(name = "开户行代码")
    private String bankCode;

    /** 供应商分类代码 */
    @Excel(name = "供应商分类代码")
    private String supplierType;

    /** 供应商分类 */
    @Excel(name = "供应商分类")
    private String supplierTypeName;

    /** 提交人 */
    @Excel(name = "提交人")
    private String createName;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateName;

    /** 流程状态 */
    @Excel(name = "流程状态")
    private Long flowStatus;

    /** 当前节点 */
    @Excel(name = "当前节点")
    private Long currentPoint;

    /** 当前负责人 */
    @Excel(name = "当前负责人")
    private String currentBy;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustId(String custId)
    {
        this.custId = custId;
    }

    public String getCustId()
    {
        return custId;
    }
    public void setSiteCode(String siteCode)
    {
        this.siteCode = siteCode;
    }

    public String getSiteCode()
    {
        return siteCode;
    }
    public void setSiteName(String siteName)
    {
        this.siteName = siteName;
    }

    public String getSiteName()
    {
        return siteName;
    }
    public void setSupplierId(String supplierId)
    {
        this.supplierId = supplierId;
    }

    public String getSupplierId()
    {
        return supplierId;
    }
    public void setSupplierCode(String supplierCode)
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode()
    {
        return supplierCode;
    }
    public void setSupplierName(String supplierName)
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName()
    {
        return supplierName;
    }
    public void setSupplierShortName(String supplierShortName)
    {
        this.supplierShortName = supplierShortName;
    }

    public String getSupplierShortName()
    {
        return supplierShortName;
    }
    public void setBankName(String bankName)
    {
        this.bankName = bankName;
    }

    public String getBankName()
    {
        return bankName;
    }
    public void setAccountNo(String accountNo)
    {
        this.accountNo = accountNo;
    }

    public String getAccountNo()
    {
        return accountNo;
    }
    public void setTaxType(Long taxType)
    {
        this.taxType = taxType;
    }

    public Long getTaxType()
    {
        return taxType;
    }
    public void setTaxTypeName(String taxTypeName)
    {
        this.taxTypeName = taxTypeName;
    }

    public String getTaxTypeName()
    {
        return taxTypeName;
    }

    public long getTaxRateType() {
        return taxRateType;
    }

    public void setTaxRateType(long taxRateType) {
        this.taxRateType = taxRateType;
    }

    public void setTaxRateName(String taxRateName)
    {
        this.taxRateName = taxRateName;
    }

    public String getTaxRateName()
    {
        return taxRateName;
    }
    public void setCategoryType(Long categoryType)
    {
        this.categoryType = categoryType;
    }

    public Long getCategoryType()
    {
        return categoryType;
    }
    public void setCategoryTypeName(String categoryTypeName)
    {
        this.categoryTypeName = categoryTypeName;
    }

    public String getCategoryTypeName()
    {
        return categoryTypeName;
    }
    public void setMainProduct(String mainProduct)
    {
        this.mainProduct = mainProduct;
    }

    public String getMainProduct()
    {
        return mainProduct;
    }
    public void setPeoples(Long peoples)
    {
        this.peoples = peoples;
    }

    public Long getPeoples()
    {
        return peoples;
    }
    public void setYearTurnover(Long yearTurnover)
    {
        this.yearTurnover = yearTurnover;
    }

    public Long getYearTurnover()
    {
        return yearTurnover;
    }
    public void setProvinceId(String provinceId)
    {
        this.provinceId = provinceId;
    }

    public String getProvinceId()
    {
        return provinceId;
    }
    public void setProvinceName(String provinceName)
    {
        this.provinceName = provinceName;
    }

    public String getProvinceName()
    {
        return provinceName;
    }
    public void setCityId(String cityId)
    {
        this.cityId = cityId;
    }

    public String getCityId()
    {
        return cityId;
    }
    public void setCityName(String cityName)
    {
        this.cityName = cityName;
    }

    public String getCityName()
    {
        return cityName;
    }
    public void setRegionId(String regionId)
    {
        this.regionId = regionId;
    }

    public String getRegionId()
    {
        return regionId;
    }
    public void setRegionName(String regionName)
    {
        this.regionName = regionName;
    }

    public String getRegionName()
    {
        return regionName;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setGradeType(String gradeType)
    {
        this.gradeType = gradeType;
    }

    public String getGradeType()
    {
        return gradeType;
    }
    public void setTaxId(String taxId)
    {
        this.taxId = taxId;
    }

    public String getTaxId()
    {
        return taxId;
    }
    public void setEnterpriseStatus(Long enterpriseStatus)
    {
        this.enterpriseStatus = enterpriseStatus;
    }

    public Long getEnterpriseStatus()
    {
        return enterpriseStatus;
    }
    public void setEnterpriseStatusName(String enterpriseStatusName)
    {
        this.enterpriseStatusName = enterpriseStatusName;
    }

    public String getEnterpriseStatusName()
    {
        return enterpriseStatusName;
    }
    public void setFoundTime(String foundTime)
    {
        this.foundTime = foundTime;
    }

    public String getFoundTime()
    {
        return foundTime;
    }
    public void setLawer(String lawer)
    {
        this.lawer = lawer;
    }

    public String getLawer()
    {
        return lawer;
    }
    public void setRegisteredCapital(Long registeredCapital)
    {
        this.registeredCapital = registeredCapital;
    }

    public Long getRegisteredCapital()
    {
        return registeredCapital;
    }
    public void setRealCapital(Long realCapital)
    {
        this.realCapital = realCapital;
    }

    public Long getRealCapital()
    {
        return realCapital;
    }
    public void setPropertyType(Long propertyType)
    {
        this.propertyType = propertyType;
    }

    public Long getPropertyType()
    {
        return propertyType;
    }
    public void setPropertyTypeName(String propertyTypeName)
    {
        this.propertyTypeName = propertyTypeName;
    }

    public String getPropertyTypeName()
    {
        return propertyTypeName;
    }
    public void setBusinessTime(Date businessTime)
    {
        this.businessTime = businessTime;
    }

    public Date getBusinessTime()
    {
        return businessTime;
    }
    public void setRegisteredAddress(String registeredAddress)
    {
        this.registeredAddress = registeredAddress;
    }

    public String getRegisteredAddress()
    {
        return registeredAddress;
    }
    public void setBusinessNature(String businessNature)
    {
        this.businessNature = businessNature;
    }

    public String getBusinessNature()
    {
        return businessNature;
    }
    public void setBusinessResult(String businessResult)
    {
        this.businessResult = businessResult;
    }

    public String getBusinessResult()
    {
        return businessResult;
    }
    public void setSupplierStatus(String supplierStatus)
    {
        this.supplierStatus = supplierStatus;
    }

    public String getSupplierStatus()
    {
        return supplierStatus;
    }
    public void setSupplierStatusName(String supplierStatusName)
    {
        this.supplierStatusName = supplierStatusName;
    }

    public String getSupplierStatusName()
    {
        return supplierStatusName;
    }
    public void setRegulationId(Long regulationId)
    {
        this.regulationId = regulationId;
    }

    public Long getRegulationId()
    {
        return regulationId;
    }
    public void setTotalScore(Long totalScore)
    {
        this.totalScore = totalScore;
    }

    public Long getTotalScore()
    {
        return totalScore;
    }
    public void setIsAgree(Long isAgree)
    {
        this.isAgree = isAgree;
    }

    public Long getIsAgree()
    {
        return isAgree;
    }
    public void setIsQualified(Long isQualified)
    {
        this.isQualified = isQualified;
    }

    public Long getIsQualified()
    {
        return isQualified;
    }
    public void setTermCode(String termCode)
    {
        this.termCode = termCode;
    }

    public String getTermCode()
    {
        return termCode;
    }
    public void setTermName(String termName)
    {
        this.termName = termName;
    }

    public String getTermName()
    {
        return termName;
    }
    public void setCurrencyCode(String currencyCode)
    {
        this.currencyCode = currencyCode;
    }

    public String getCurrencyCode()
    {
        return currencyCode;
    }
    public void setCurrencyName(String currencyName)
    {
        this.currencyName = currencyName;
    }

    public String getCurrencyName()
    {
        return currencyName;
    }
    public void setContactBy(String contactBy)
    {
        this.contactBy = contactBy;
    }

    public String getContactBy()
    {
        return contactBy;
    }
    public void setBankCode(String bankCode)
    {
        this.bankCode = bankCode;
    }

    public String getBankCode()
    {
        return bankCode;
    }
    public void setSupplierType(String supplierType)
    {
        this.supplierType = supplierType;
    }

    public String getSupplierType()
    {
        return supplierType;
    }
    public void setSupplierTypeName(String supplierTypeName)
    {
        this.supplierTypeName = supplierTypeName;
    }

    public String getSupplierTypeName()
    {
        return supplierTypeName;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setUpdateName(String updateName)
    {
        this.updateName = updateName;
    }

    public String getUpdateName()
    {
        return updateName;
    }
    public void setFlowStatus(Long flowStatus)
    {
        this.flowStatus = flowStatus;
    }

    public Long getFlowStatus()
    {
        return flowStatus;
    }
    public void setCurrentPoint(Long currentPoint)
    {
        this.currentPoint = currentPoint;
    }

    public Long getCurrentPoint()
    {
        return currentPoint;
    }
    public void setCurrentBy(String currentBy)
    {
        this.currentBy = currentBy;
    }

    public String getCurrentBy()
    {
        return currentBy;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("custId", getCustId())
            .append("siteCode", getSiteCode())
            .append("siteName", getSiteName())
            .append("supplierId", getSupplierId())
            .append("supplierCode", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("supplierShortName", getSupplierShortName())
            .append("bankName", getBankName())
            .append("accountNo", getAccountNo())
            .append("taxType", getTaxType())
            .append("taxTypeName", getTaxTypeName())
            .append("taxRateName", getTaxRateName())
            .append("categoryType", getCategoryType())
            .append("categoryTypeName", getCategoryTypeName())
            .append("mainProduct", getMainProduct())
            .append("peoples", getPeoples())
            .append("yearTurnover", getYearTurnover())
            .append("provinceId", getProvinceId())
            .append("provinceName", getProvinceName())
            .append("cityId", getCityId())
            .append("cityName", getCityName())
            .append("regionId", getRegionId())
            .append("regionName", getRegionName())
            .append("tel", getTel())
            .append("address", getAddress())
            .append("gradeType", getGradeType())
            .append("taxId", getTaxId())
            .append("enterpriseStatus", getEnterpriseStatus())
            .append("enterpriseStatusName", getEnterpriseStatusName())
            .append("foundTime", getFoundTime())
            .append("lawer", getLawer())
            .append("registeredCapital", getRegisteredCapital())
            .append("realCapital", getRealCapital())
            .append("propertyType", getPropertyType())
            .append("propertyTypeName", getPropertyTypeName())
            .append("businessTime", getBusinessTime())
            .append("registeredAddress", getRegisteredAddress())
            .append("businessNature", getBusinessNature())
            .append("businessResult", getBusinessResult())
            .append("supplierStatus", getSupplierStatus())
            .append("supplierStatusName", getSupplierStatusName())
            .append("regulationId", getRegulationId())
            .append("totalScore", getTotalScore())
            .append("isAgree", getIsAgree())
            .append("isQualified", getIsQualified())
            .append("termCode", getTermCode())
            .append("termName", getTermName())
            .append("currencyCode", getCurrencyCode())
            .append("currencyName", getCurrencyName())
            .append("contactBy", getContactBy())
            .append("bankCode", getBankCode())
            .append("supplierType", getSupplierType())
            .append("supplierTypeName", getSupplierTypeName())
            .append("createName", getCreateName())
            .append("updateName", getUpdateName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("flowStatus", getFlowStatus())
            .append("currentPoint", getCurrentPoint())
            .append("currentBy", getCurrentBy())
            .toString();
    }
}
